/**
* AutoSWF - Cody Cushing. March 26, 2009
* Copyright (c) 2009 Cody Cushing
* No use restrictions. Maintain this notice in all versions. 
**/

package com.autoswf.taskrunner
{
	import com.anywebcam.mock.Mock;
	
	import flash.events.EventDispatcher;

	public class MockTask extends EventDispatcher implements ITask
	{
		public var mock:Mock;
		
		public function MockTask()
		{
			super();
			mock = new Mock(this);
		}
		
		public function get id():String
		{
			return mock.id;
		}
		
		public function get result():*
		{
			return mock.result;
		}
		
		public function run():void
		{
			mock.run();
		}
		
	}
}